home *** CD-ROM | disk | FTP | other *** search
/ MacHack 2000 / MacHack 2000.toast / pc / The Hacks / Softshoe / Lisa's Mac Parts / Windows / StrangeWindow.h < prev    next >
Text File  |  2000-06-23  |  837b  |  40 lines

  1. // StrangeWindow.h
  2.  
  3. #ifndef StrangeWindow_h
  4. #define StrangeWindow_h
  5.  
  6. #ifndef AbstractWindow_h
  7. #include "AbstractWindow.h"
  8. #endif
  9.  
  10. class WindowObject;
  11.  
  12. class StrangeWindow: public AbstractWindow
  13.   {
  14.     private:
  15.         WindowObject *window;
  16.     
  17.     public:
  18.         StrangeWindow( WindowObject *theWindow )
  19.           : window( theWindow )
  20.           {
  21.           }
  22.         
  23.         virtual void Update();
  24.         
  25.         virtual void Activate();
  26.         virtual void Deactivate();
  27.         
  28.         virtual void ClickContent( const MouseDownEvent& );
  29.         virtual void ClickDrag( const MouseDownEvent& );
  30.         virtual void ClickClose( const MouseDownEvent& );
  31.         virtual void ClickZoomIn( const MouseDownEvent& );
  32.         virtual void ClickZoomOut( const MouseDownEvent& );
  33.         virtual void ClickGrow( const MouseDownEvent& );
  34.  
  35.         virtual const CursorObject& Cursor( const MouseEvent&,
  36.                                                         RegionObject& sleep );
  37.   };
  38.  
  39. #endif
  40.